package com.jackstraw.jack_base.mq.common.entity;

import lombok.Data;

/**
 * MQTemplateS
 * <p>
 * 对MQTemplate进行封装
 */
@Data
public abstract class MQTemplateS<E extends MQEntity<P, C, MTS, E>, P extends MQProducer, C extends MQConsumer, MTS extends MQTemplateS<E, P, C, MTS>> {

    /**
     * 配置文件
     */
    private E mqEntity;


    public abstract Object get();

    public abstract Object get(String key);
}
